﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Logistics.Web
{
    public partial class yo : System.Web.UI.Page
    {
        public int zongshu { get; set; }
        public int geshu { get; set; }
        public int yema { get; set; }
        public int yeshu { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                getR();
                zongshu = 20;
                geshu = 3;
                yema = 1;
                yeshu = (int)Math.Ceiling((float)zongshu / geshu);
            }
        }
        public void getR()
        {
            Repeater1.DataSource = BLL.TruckTeamBLL.GetTruckTeams();
            Repeater1.DataBind();
        }
    }
}